﻿<UserControl x:Class="Prometheus.Binding.Validation.Controls.proOkCancelControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:Controls="clr-namespace:Prometheus.Binding.Validation.Controls">    
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="auto"/>
            </Grid.ColumnDefinitions>
            <Button Name="okButton" Content="Принять" Grid.Column="1" Click="dialogOk_Clicked" VerticalAlignment="Top"/>
            <Button Name="cancelButton" Content="Отмена" Grid.Column="2" Click="dialogCancel_Clicked" VerticalAlignment="Top"/>
            <Controls:proErrorBlock x:Name="errorBox" HorizontalAlignment="Left" Grid.Column="0" VerticalAlignment="Top"/>
        </Grid>        
</UserControl>
